'use strict';

const Controller = require('egg').Controller;
class Tencent extends Controller {
    async tencentCloudApi(){
        const {ctx} = this;
        const params = ctx.request.body;
        const res = await ctx.service.tencentCloud.index.takeTencentCloudAPI(params)
        console.log(res)
        ctx.body = {
            status:200,
            data:res,
            msg:"success"
        }
    }
}
module.exports = Tencent